public class ControllerExample {
  String searchText;
  List<Lead> results;
  public String getSearchText() {
    return searchText;
  }
  public void setSearchText(String s) {
    searchText = s;
  }
  public List<Lead> getResults() {
    return results;
  }
  public PageReference doSearch() {
  results = (List<Lead>)[FIND :searchText RETURNING Lead(Name, Email, Phone)][0];
  return null;
  }
}